﻿namespace Sanelib.Dto.ApiRequests
{
    public abstract class FormBase : IWebApiRequest
    {
        public string LoggedUser { get; set; }
        public string MachineName { get; set; }
        public string FromAgency { get; set; }
        public string ToAgency { get; set; }
        public string FromSystem { get; set; }
        public string ToSystem { get; set; }

        public override string ToString()
        {
            return string.Format("{0},{1},{2},{3},{4},{5}", LoggedUser, MachineName, FromAgency, ToAgency, FromSystem, ToSystem);
        }

        public abstract string GetCommandValue();
        public abstract string GetApiAddress();
    }
}
